/* -----------    基础 ---------------*/
.hidden {
	display: none;
}

.fx {
	display: flex;
	flex-direction: row;
}

.fx-col {
	display: flex;
	flex-direction: column;
}

.fx-1 {
	flex: 1 1 auto;
	overflow: auto;
}

.fx-2 {
	flex: 2 2 auto;
	overflow: auto;
}

.fx-3 {
	flex: 3 3 auto;
	overflow: auto;
}

.noshrink {
	flex-shrink: 0;
}

/**主轴排列**/
.fx-m_start {
	justify-content: flex-start;
}

.fx-m_end {
	justify-content: flex-end;
}

.fx-m_center {
	justify-content: center;
}

.fx-m_between {
	justify-content: space-between;
}

.fx-m_around {
	justify-content: space-around;
}

/**交叉轴排列**/
.fx-c_start {
	align-items: flex-start;
}

.fx-c_end {
	align-items: flex-end;
}

.fx-c_center {
	align-items: center;
}

.fx-c_baseline {
	align-items: baseline;
}

.fx-c_stretch {
	align-items: stretch;
}

.fx-center {
	justify-content: center;
	align-items: center;
}

.fx-wrap {
	flex-wrap: wrap;
}

.fx-w_start {
	align-content: flex-start;
}

.fx-w_end {
	align-content: flex-end;
}

.fx-w_center {
	align-content: center;
}

.fx-w_between {
	align-content: space-between;
}

.fx-w_around {
	align-content: space-around;
}

.fx-w_stretch {
	align-content: stretch;
}

/******* grid 网格布局相关 ***********/
.grid {
	display: grid;
}

.col-2 {
	grid-template-columns: repeat(2, 1fr);
}

.col-3 {
	grid-template-columns: repeat(3, 1fr);
}

.col-4 {
	grid-template-columns: repeat(4, 1fr);
}

.col-5 {
	grid-template-columns: repeat(5, 1fr);
}

.col-6 {
	grid-template-columns: repeat(6, 1fr);
}

.col-7 {
	grid-template-columns: repeat(7, 1fr);
}

.col-8 {
	grid-template-columns: repeat(8, 1fr);
}

/*水平间距*/
.hgap-5 {
	grid-column-gap: 5px;
}

.hgap-10 {
	grid-column-gap: 10px;
}

.hgap-15 {
	grid-column-gap: 15px;
}

.hgap-20 {
	grid-column-gap: 20px;
}

.hgap-25 {
	grid-column-gap: 25px;
}

.hgap-30 {
	grid-column-gap: 30px;
}

.hgap-35 {
	grid-column-gap: 35px;
}

.hgap-40 {
	grid-column-gap: 40px;
}

.hgap-45 {
	grid-column-gap: 45px;
}

.hgap-50 {
	grid-column-gap: 50px;
}

.grid-h_start {
	justify-items: start;
}

.grid-h_center {
	justify-items: center;
}

.grid-h_end {
	justify-items: end;
}

/* -----------    ChatMessage样式 ------------------------*/
.md-assistant {
	color-scheme: light;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	margin: 0;
	color: rgb(51, 65, 85);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 16px;
	line-height: 1.5;
	word-wrap: break-word;
	white-space: normal;
}

.md-assistant .octicon {
	display: inline-block;
	fill: currentColor;
	vertical-align: text-bottom;
}

.md-assistant h1:hover .anchor .octicon-link:before,
.md-assistant h2:hover .anchor .octicon-link:before,
.md-assistant h3:hover .anchor .octicon-link:before,
.md-assistant h4:hover .anchor .octicon-link:before,
.md-assistant h5:hover .anchor .octicon-link:before,
.md-assistant h6:hover .anchor .octicon-link:before {
	width: 16px;
	height: 16px;
	content: ' ';
	display: inline-block;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
	mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");
}

.md-assistant details,
.md-assistant figcaption,
.md-assistant figure {
	display: block;
}

.md-assistant summary {
	display: list-item;
}

.md-assistant [hidden] {
	display: none !important;
}

.md-assistant a {
	background-color: transparent;
	color: #0969da;
	text-decoration: none;
}

.md-assistant abbr[title] {
	border-bottom: none;
	-webkit-text-decoration: underline dotted;
	text-decoration: underline dotted;
}

.md-assistant b,
.md-assistant strong {
	font-weight: 600;
}

.md-assistant dfn {
	font-style: italic;
}

.md-assistant h1 {
	margin: .67em 0;
	font-weight: 600;
	padding-bottom: .3em;
	font-size: 2em;
	border-bottom: 1px solid #d1d9e0b3;
}

.md-assistant mark {
	background-color: #fff8c5;
	color: #1f2328;
}

.md-assistant small {
	font-size: 90%;
}

.md-assistant sub,
.md-assistant sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

.md-assistant sub {
	bottom: -0.25em;
}

.md-assistant sup {
	top: -0.5em;
}

.md-assistant img {
	border-style: none;
	max-width: 100%;
	box-sizing: content-box;
}

.md-assistant code,
.md-assistant kbd,
.md-assistant pre,
.md-assistant samp {
	font-family: monospace;
	font-size: 1em;
}

.md-assistant figure {
	margin: 1em 2.5rem;
}

.md-assistant hr {
	box-sizing: content-box;
	overflow: hidden;
	background: transparent;
	border-bottom: 1px solid #d1d9e0b3;
	height: .25em;
	padding: 0;
	margin: 1.5rem 0;
	background-color: #d1d9e0;
	border: 0;
}

.md-assistant input {
	font: inherit;
	margin: 0;
	overflow: visible;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

.md-assistant [type=button],
.md-assistant [type=reset],
.md-assistant [type=submit] {
	-webkit-appearance: button;
	appearance: button;
}

.md-assistant [type=checkbox],
.md-assistant [type=radio] {
	box-sizing: border-box;
	padding: 0;
}

.md-assistant [type=number]::-webkit-inner-spin-button,
.md-assistant [type=number]::-webkit-outer-spin-button {
	height: auto;
}

.md-assistant [type=search]::-webkit-search-cancel-button,
.md-assistant [type=search]::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

.md-assistant ::-webkit-input-placeholder {
	color: inherit;
	opacity: .54;
}

.md-assistant ::-webkit-file-upload-button {
	-webkit-appearance: button;
	appearance: button;
	font: inherit;
}

.md-assistant a:hover {
	text-decoration: underline;
}

.md-assistant ::placeholder {
	color: #59636e;
	opacity: 1;
}

.md-assistant hr::before {
	display: table;
	content: "";
}

.md-assistant hr::after {
	display: table;
	clear: both;
	content: "";
}

.md-assistant table {
	border-spacing: 0;
	border-collapse: collapse;
	display: block;
	width: max-content;
	max-width: 100%;
	overflow: auto;
	font-variant: tabular-nums;
}

.md-assistant td,
.md-assistant th {
	padding: 0;
}

.md-assistant details summary {
	cursor: pointer;
}

.md-assistant a:focus,
.md-assistant [role=button]:focus,
.md-assistant input[type=radio]:focus,
.md-assistant input[type=checkbox]:focus {
	outline: 2px solid #0969da;
	outline-offset: -2px;
	box-shadow: none;
}

.md-assistant a:focus:not(:focus-visible),
.md-assistant [role=button]:focus:not(:focus-visible),
.md-assistant input[type=radio]:focus:not(:focus-visible),
.md-assistant input[type=checkbox]:focus:not(:focus-visible) {
	outline: solid 1px transparent;
}

.md-assistant a:focus-visible,
.md-assistant [role=button]:focus-visible,
.md-assistant input[type=radio]:focus-visible,
.md-assistant input[type=checkbox]:focus-visible {
	outline: 2px solid #0969da;
	outline-offset: -2px;
	box-shadow: none;
}

.md-assistant a:not([class]):focus,
.md-assistant a:not([class]):focus-visible,
.md-assistant input[type=radio]:focus,
.md-assistant input[type=radio]:focus-visible,
.md-assistant input[type=checkbox]:focus,
.md-assistant input[type=checkbox]:focus-visible {
	outline-offset: 0;
}

.md-assistant kbd {
	display: inline-block;
	padding: 0.25rem;
	font: 11px ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
	line-height: 10px;
	color: #1f2328;
	vertical-align: middle;
	background-color: #f6f8fa;
	border: solid 1px #d1d9e0b3;
	border-bottom-color: #d1d9e0b3;
	border-radius: 6px;
	box-shadow: inset 0 -1px 0 #d1d9e0b3;
}

.md-assistant h1,
.md-assistant h2,
.md-assistant h3,
.md-assistant h4,
.md-assistant h5,
.md-assistant h6 {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	font-weight: 600;
	line-height: 1.25;
}

.md-assistant h2 {
	font-weight: 600;
	padding-bottom: .3em;
	font-size: 1.5em;
	border-bottom: 1px solid #d1d9e0b3;
}

.md-assistant h3 {
	font-weight: 600;
	font-size: 1.25em;
}

.md-assistant h4 {
	font-weight: 600;
	font-size: 1em;
}

.md-assistant h5 {
	font-weight: 600;
	font-size: .875em;
}

.md-assistant h6 {
	font-weight: 600;
	font-size: .85em;
	color: #59636e;
}

.md-assistant p {
	margin-top: 0;
	margin-bottom: 10px;
}

.md-assistant blockquote {
	margin: 0;
	padding: 0 1em;
	color: #59636e;
	border-left: .25em solid #d1d9e0;
}

.md-assistant ul{
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 1em;
}
.md-assistant ol {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1em;
}

.md-assistant ol ol,
.md-assistant ul ol {
	list-style-type: lower-roman;
}

.md-assistant ul ul ol,
.md-assistant ul ol ol,
.md-assistant ol ul ol,
.md-assistant ol ol ol {
	list-style-type: lower-alpha;
}

.md-assistant dd {
	margin-left: 0;
}

.md-assistant tt,
.md-assistant code,
.md-assistant samp {
	font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
	font-size: 12px;
}

.md-assistant pre {
	margin-top: 0;
	margin-bottom: 0;
	font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
	font-size: 12px;
	word-wrap: normal;
}

.md-assistant .octicon {
	display: inline-block;
	overflow: visible !important;
	vertical-align: text-bottom;
	fill: currentColor;
}

.md-assistant input::-webkit-outer-spin-button,
.md-assistant input::-webkit-inner-spin-button {
	margin: 0;
	appearance: none;
}

.md-assistant .mr-2 {
	margin-right: 0.5rem !important;
}

.md-assistant::before {
	display: table;
	content: "";
}

.md-assistant::after {
	display: table;
	clear: both;
	content: "";
}

.md-assistant>*:first-child {
	margin-top: 0 !important;
}

.md-assistant>*:last-child {
	margin-bottom: 0 !important;
}

.md-assistant a:not([href]) {
	color: inherit;
	text-decoration: none;
}

.md-assistant .absent {
	color: #d1242f;
}

.md-assistant .anchor {
	float: left;
	padding-right: 0.25rem;
	margin-left: -20px;
	line-height: 1;
}

.md-assistant .anchor:focus {
	outline: none;
}

.md-assistant p,
.md-assistant blockquote,
.md-assistant ul,
.md-assistant dl,
.md-assistant table,
.md-assistant pre,
.md-assistant details {
	margin-top: 0;
	margin-bottom: 1rem;
}
.md-assistant ol details{
    margin-top: 0;
}
.md-assistant blockquote> :first-child {
	margin-top: 0;
}

.md-assistant blockquote> :last-child {
	margin-bottom: 0;
}

.md-assistant h1 .octicon-link,
.md-assistant h2 .octicon-link,
.md-assistant h3 .octicon-link,
.md-assistant h4 .octicon-link,
.md-assistant h5 .octicon-link,
.md-assistant h6 .octicon-link {
	color: #1f2328;
	vertical-align: middle;
	visibility: hidden;
}

.md-assistant h1:hover .anchor,
.md-assistant h2:hover .anchor,
.md-assistant h3:hover .anchor,
.md-assistant h4:hover .anchor,
.md-assistant h5:hover .anchor,
.md-assistant h6:hover .anchor {
	text-decoration: none;
}

.md-assistant h1:hover .anchor .octicon-link,
.md-assistant h2:hover .anchor .octicon-link,
.md-assistant h3:hover .anchor .octicon-link,
.md-assistant h4:hover .anchor .octicon-link,
.md-assistant h5:hover .anchor .octicon-link,
.md-assistant h6:hover .anchor .octicon-link {
	visibility: visible;
}

.md-assistant h1 tt,
.md-assistant h1 code,
.md-assistant h2 tt,
.md-assistant h2 code,
.md-assistant h3 tt,
.md-assistant h3 code,
.md-assistant h4 tt,
.md-assistant h4 code,
.md-assistant h5 tt,
.md-assistant h5 code,
.md-assistant h6 tt,
.md-assistant h6 code {
	padding: 0 .2em;
	font-size: inherit;
}

.md-assistant summary h1,
.md-assistant summary h2,
.md-assistant summary h3,
.md-assistant summary h4,
.md-assistant summary h5,
.md-assistant summary h6 {
	display: inline-block;
}

.md-assistant summary h1 .anchor,
.md-assistant summary h2 .anchor,
.md-assistant summary h3 .anchor,
.md-assistant summary h4 .anchor,
.md-assistant summary h5 .anchor,
.md-assistant summary h6 .anchor {
	margin-left: -40px;
}

.md-assistant summary h1,
.md-assistant summary h2 {
	padding-bottom: 0;
	border-bottom: 0;
}

.md-assistant ul.no-list,
.md-assistant ol.no-list {
	padding: 0;
	list-style-type: none;
}

.md-assistant ol[type="a s"] {
	list-style-type: lower-alpha;
}

.md-assistant ol[type="A s"] {
	list-style-type: upper-alpha;
}

.md-assistant ol[type="i s"] {
	list-style-type: lower-roman;
}

.md-assistant ol[type="I s"] {
	list-style-type: upper-roman;
}

.md-assistant ol[type="1"] {
	list-style-type: decimal;
}

.md-assistant div>ol:not([type]) {
	list-style-type: decimal;
}

.md-assistant ul ul,
.md-assistant ul ol,
.md-assistant ol ol,
.md-assistant ol ul {
	margin-top: 0;
	margin-bottom: 0;
}

.md-assistant li>p {
	margin-top: 1rem;
}

.md-assistant li+li {
	margin-top: .25em;
}

.md-assistant dl {
	padding: 0;
}

.md-assistant dl dt {
	padding: 0;
	margin-top: 1rem;
	font-size: 1em;
	font-style: italic;
	font-weight: 600;
}

.md-assistant dl dd {
	padding: 0 1rem;
	margin-bottom: 1rem;
}

.md-assistant table th {
	font-weight: 600;
}

.md-assistant table th,
.md-assistant table td {
	padding: 6px 13px;
	border: 1px solid #d1d9e0;
}

.md-assistant table td> :last-child {
	margin-bottom: 0;
}

.md-assistant table tr {
	background-color: #ffffff;
	border-top: 1px solid #d1d9e0b3;
}

.md-assistant table tr:nth-child(2n) {
	background-color: #f6f8fa;
}

.md-assistant table img {
	background-color: transparent;
}

.md-assistant img[align=right] {
	padding-left: 20px;
}

.md-assistant img[align=left] {
	padding-right: 20px;
}

.md-assistant .emoji {
	max-width: none;
	vertical-align: text-top;
	background-color: transparent;
}

.md-assistant span.frame {
	display: block;
	overflow: hidden;
}

.md-assistant span.frame>span {
	display: block;
	float: left;
	width: auto;
	padding: 7px;
	margin: 13px 0 0;
	overflow: hidden;
	border: 1px solid #d1d9e0;
}

.md-assistant span.frame span img {
	display: block;
	float: left;
}

.md-assistant span.frame span span {
	display: block;
	padding: 5px 0 0;
	clear: both;
	color: #1f2328;
}

.md-assistant span.align-center {
	display: block;
	overflow: hidden;
	clear: both;
}

.md-assistant span.align-center>span {
	display: block;
	margin: 13px auto 0;
	overflow: hidden;
	text-align: center;
}

.md-assistant span.align-center span img {
	margin: 0 auto;
	text-align: center;
}

.md-assistant span.align-right {
	display: block;
	overflow: hidden;
	clear: both;
}

.md-assistant span.align-right>span {
	display: block;
	margin: 13px 0 0;
	overflow: hidden;
	text-align: right;
}

.md-assistant span.align-right span img {
	margin: 0;
	text-align: right;
}

.md-assistant span.float-left {
	display: block;
	float: left;
	margin-right: 13px;
	overflow: hidden;
}

.md-assistant span.float-left span {
	margin: 13px 0 0;
}

.md-assistant span.float-right {
	display: block;
	float: right;
	margin-left: 13px;
	overflow: hidden;
}

.md-assistant span.float-right>span {
	display: block;
	margin: 13px auto 0;
	overflow: hidden;
	text-align: right;
}

.md-assistant code,
.md-assistant tt {
	padding: .2em .4em;
	margin: 0;
	font-size: 85%;
	white-space: break-spaces;
	background-color: #818b981f;
	border-radius: 6px;
}

.md-assistant code br,
.md-assistant tt br {
	display: none;
}

.md-assistant del code {
	text-decoration: inherit;
}

.md-assistant samp {
	font-size: 85%;
}

.md-assistant pre code {
	font-size: 100%;
}

.md-assistant pre>code {
	padding: 0;
	margin: 0;
	word-break: normal;
	white-space: pre;
	background: transparent;
	border: 0;
}

.md-assistant .highlight {
	margin-bottom: 1rem;
}

.md-assistant .highlight pre {
	margin-bottom: 0;
	word-break: normal;
}

.md-assistant .highlight pre,
.md-assistant pre {
	padding: 1rem;
	overflow: auto;
	font-size: 85%;
	line-height: 1.45;
	color: #1f2328;
	background-color: #f6f8fa;
	border-radius: 6px;
}

.md-assistant pre code,
.md-assistant pre tt {
	display: inline;
	max-width: auto;
	padding: 0;
	margin: 0;
	overflow: visible;
	line-height: inherit;
	word-wrap: normal;
	background-color: transparent;
	border: 0;
}

.md-assistant .csv-data td,
.md-assistant .csv-data th {
	padding: 5px;
	overflow: hidden;
	font-size: 12px;
	line-height: 1;
	text-align: left;
	white-space: nowrap;
}

.md-assistant .csv-data .blob-num {
	padding: 10px 0.5rem 9px;
	text-align: right;
	background: #ffffff;
	border: 0;
}

.md-assistant .csv-data tr {
	border-top: 0;
}

.md-assistant .csv-data th {
	font-weight: 600;
	background: #f6f8fa;
	border-top: 0;
}

.md-assistant [data-footnote-ref]::before {
	content: "[";
}

.md-assistant [data-footnote-ref]::after {
	content: "]";
}

.md-assistant .footnotes {
	font-size: 12px;
	color: #59636e;
	border-top: 1px solid #d1d9e0;
}

.md-assistant .footnotes ol {
	padding-left: 1rem;
}

.md-assistant .footnotes ol ul {
	display: inline-block;
	padding-left: 1rem;
	margin-top: 1rem;
}

.md-assistant .footnotes li {
	position: relative;
}

.md-assistant .footnotes li:target::before {
	position: absolute;
	top: calc(0.5rem * -1);
	right: calc(0.5rem * -1);
	bottom: calc(0.5rem * -1);
	left: calc(1.5rem * -1);
	pointer-events: none;
	content: "";
	border: 2px solid #0969da;
	border-radius: 6px;
}

.md-assistant .footnotes li:target {
	color: #1f2328;
}

.md-assistant .footnotes .data-footnote-backref g-emoji {
	font-family: monospace;
}

.md-assistant body:has(:modal) {
	padding-right: var(--dialog-scrollgutter) !important;
}

.md-assistant .pl-c {
	color: #59636e;
}

.md-assistant .pl-c1,
.md-assistant .pl-s .pl-v {
	color: #0550ae;
}

.md-assistant .pl-e,
.md-assistant .pl-en {
	color: #6639ba;
}

.md-assistant .pl-smi,
.md-assistant .pl-s .pl-s1 {
	color: #1f2328;
}

.md-assistant .pl-ent {
	color: #0550ae;
}

.md-assistant .pl-k {
	color: #cf222e;
}

.md-assistant .pl-s,
.md-assistant .pl-pds,
.md-assistant .pl-s .pl-pse .pl-s1,
.md-assistant .pl-sr,
.md-assistant .pl-sr .pl-cce,
.md-assistant .pl-sr .pl-sre,
.md-assistant .pl-sr .pl-sra {
	color: #0a3069;
}

.md-assistant .pl-v,
.md-assistant .pl-smw {
	color: #953800;
}

.md-assistant .pl-bu {
	color: #82071e;
}

.md-assistant .pl-ii {
	color: #f6f8fa;
	background-color: #82071e;
}

.md-assistant .pl-c2 {
	color: #f6f8fa;
	background-color: #cf222e;
}

.md-assistant .pl-sr .pl-cce {
	font-weight: bold;
	color: #116329;
}

.md-assistant .pl-ml {
	color: #3b2300;
}

.md-assistant .pl-mh,
.md-assistant .pl-mh .pl-en,
.md-assistant .pl-ms {
	font-weight: bold;
	color: #0550ae;
}

.md-assistant .pl-mi {
	font-style: italic;
	color: #1f2328;
}

.md-assistant .pl-mb {
	font-weight: bold;
	color: #1f2328;
}

.md-assistant .pl-md {
	color: #82071e;
	background-color: #ffebe9;
}

.md-assistant .pl-mi1 {
	color: #116329;
	background-color: #dafbe1;
}

.md-assistant .pl-mc {
	color: #953800;
	background-color: #ffd8b5;
}

.md-assistant .pl-mi2 {
	color: #d1d9e0;
	background-color: #0550ae;
}

.md-assistant .pl-mdr {
	font-weight: bold;
	color: #8250df;
}

.md-assistant .pl-ba {
	color: #59636e;
}

.md-assistant .pl-sg {
	color: #818b98;
}

.md-assistant .pl-corl {
	text-decoration: underline;
	color: #0a3069;
}

.md-assistant [role=button]:focus:not(:focus-visible),
.md-assistant [role=tabpanel][tabindex="0"]:focus:not(:focus-visible),
.md-assistant button:focus:not(:focus-visible),
.md-assistant summary:focus:not(:focus-visible),
.md-assistant a:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

.md-assistant [tabindex="0"]:focus:not(:focus-visible),
.md-assistant details-dialog:focus:not(:focus-visible) {
	outline: none;
}

.md-assistant g-emoji {
	display: inline-block;
	min-width: 1ch;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size: 1em;
	font-style: normal !important;
	font-weight: 400;
	line-height: 1;
	vertical-align: -0.075em;
}

.md-assistant g-emoji img {
	width: 1em;
	height: 1em;
}

.md-assistant .task-list-item {
	list-style-type: none;
}

.md-assistant .task-list-item label {
	font-weight: 400;
}

.md-assistant .task-list-item.enabled label {
	cursor: pointer;
}

.md-assistant .task-list-item+.task-list-item {
	margin-top: 0.25rem;
}

.md-assistant .task-list-item .handle {
	display: none;
}

.md-assistant .task-list-item-checkbox {
	margin: 0 .2em .25em -1.4em;
	vertical-align: middle;
}

.md-assistant ul:dir(rtl) .task-list-item-checkbox {
	margin: 0 -1.6em .25em .2em;
}

.md-assistant ol:dir(rtl) .task-list-item-checkbox {
	margin: 0 -1.6em .25em .2em;
}

.md-assistant .contains-task-list:hover .task-list-item-convert-container,
.md-assistant .contains-task-list:focus-within .task-list-item-convert-container {
	display: block;
	width: auto;
	height: 24px;
	overflow: visible;
	clip: auto;
}

.md-assistant ::-webkit-calendar-picker-indicator {
	filter: invert(50%);
}

.md-assistant .markdown-alert {
	padding: 0.5rem 1rem;
	margin-bottom: 1rem;
	color: inherit;
	border-left: .25em solid #d1d9e0;
}

.md-assistant .markdown-alert> :first-child {
	margin-top: 0;
}

.md-assistant .markdown-alert> :last-child {
	margin-bottom: 0;
}

.md-assistant .markdown-alert .markdown-alert-title {
	display: flex;
	font-weight: 500;
	align-items: center;
	line-height: 1;
}

.md-assistant .markdown-alert.markdown-alert-note {
	border-left-color: #0969da;
}

.md-assistant .markdown-alert.markdown-alert-note .markdown-alert-title {
	color: #0969da;
}

.md-assistant .markdown-alert.markdown-alert-important {
	border-left-color: #8250df;
}

.md-assistant .markdown-alert.markdown-alert-important .markdown-alert-title {
	color: #8250df;
}

.md-assistant .markdown-alert.markdown-alert-warning {
	border-left-color: #9a6700;
}

.md-assistant .markdown-alert.markdown-alert-warning .markdown-alert-title {
	color: #9a6700;
}

.md-assistant .markdown-alert.markdown-alert-tip {
	border-left-color: #1a7f37;
}

.md-assistant .markdown-alert.markdown-alert-tip .markdown-alert-title {
	color: #1a7f37;
}

.md-assistant .markdown-alert.markdown-alert-caution {
	border-left-color: #cf222e;
}

.md-assistant .markdown-alert.markdown-alert-caution .markdown-alert-title {
	color: #d1242f;
}

.md-assistant>*:first-child>.heading-element:first-child {
	margin-top: 0 !important;
}

.md-assistant .highlight pre:has(+.zeroclipboard-container) {
	min-height: 52px;
}

/*---- ReferenceItem 样式 -----------*/
.ja.reference-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background: rgba(249, 250, 251, 0.8);
	border-radius: 12px;
	margin: 8px 0;
	border: 1px solid rgba(229, 231, 235, 0.5);
	transition: all 0.2s ease;
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ja.reference-item:hover {
	background: rgba(249, 250, 251, 0.95);
	border-color: rgba(209, 213, 219, 0.8);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.ja.reference-item .icon {
	flex-shrink: 0;
	margin-top: 3px;
	opacity: 0.8;
	transition: opacity 0.2s ease;
}

.ja.reference-item:hover .icon {
	opacity: 1;
}

.ja.reference-item .content-wrapper {
	flex: 1;
	min-width: 0;
}

.ja.reference-item .content {
	color: #374151;
	font-size: 0.8rem;
	line-height: 1.6;
	margin: 0;
	word-break: break-word;
}

.ja.reference-item .text-content {
	cursor: pointer;
}

.ja.reference-item .text-content:hover {
	color: #1f2937;
}

.ja.reference-item .secondary-text {
	color: #6b7280;
	font-size: 0.875rem;
	margin-top: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ja.reference-item .secondary-text::before {
	content: '';
	display: inline-block;
	width: 4px;
	height: 4px;
	background: #d1d5db;
	border-radius: 50%;
}

.ja.reference-item a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ja.reference-item a:hover {
	color: #2563eb;
}

.ja.reference-item .clickable {
	cursor: pointer;
}

.ja.reference-item .clickable:hover {
	color: #2563eb;
}


/* ---------- chat-tip 样式 --------------------*/
.ja.tip {
	display: none;
	justify-content: center;
	align-items: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 0.5rem 1rem;
}

.ja.tip.show {
	display: flex;
	opacity: 1;
}

.ja.tip-content {
	padding-top: 1rem;
}

.ja.tip-content-wrapper {
	padding: 0.5rem 1rem;
	background-color: rgba(0, 0, 0, .1);
	color: #666;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ja.tip .dots span {
	animation: dots 1.5s infinite;
	opacity: 0;
}

.ja.tip .dots span:nth-child(2) {
	animation-delay: 0.5s;
}

.ja.tip .dots span:nth-child(3) {
	animation-delay: 1s;
}

@keyframes dots {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

/* HTML: <div class="loader"></div> */
.ja.tip .loader {
	width: 40px;
	height: 20px;
	--c: no-repeat radial-gradient(farthest-side, #c6c6c6 93%, #0000);
	background: var(--c) 0 0,
		var(--c) 50% 0,
		var(--c) 100% 0;
	background-size: 8px 8px;
	position: relative;
	animation: l4-0 1s linear infinite alternate;
}

.ja.tip .loader:before {
	content: "";
	position: absolute;
	width: 8px;
	height: 12px;
	border-radius: 4px;
	background: #0a74ff;
	left: 0;
	top: 0;
	animation: l4-1 1s linear infinite alternate,
		l4-2 0.5s cubic-bezier(0, 200, .8, 200) infinite,
		l4-3 2s linear infinite;
}

@keyframes l4-0 {
	0% {
		background-position: 0 100%, 50% 0, 100% 0
	}

	8%,
	42% {
		background-position: 0 0, 50% 0, 100% 0
	}

	50% {
		background-position: 0 0, 50% 100%, 100% 0
	}

	58%,
	92% {
		background-position: 0 0, 50% 0, 100% 0
	}

	100% {
		background-position: 0 0, 50% 0, 100% 100%
	}
}

@keyframes l4-1 {
	100% {
		left: calc(100% - 8px)
	}
}

@keyframes l4-2 {
	100% {
		top: -0.2px
	}
}

@keyframes l4-3 {

	0%,
	100% {
		background: #0a74ff;
		height: 12px;
	}

	25% {
		background: rgba(112, 47, 251, 0.65);
		height: 18px;
	}

	50% {
		background: #f27e30;
		height: 16px;
	}

	75% {
		background: #2c98ea;
		height: 14px;
	}
}


/*---------chat message 样式*/

.ja_msg {
	display: flex;
	align-items: flex-start;
	animation: message-fade-in 0.3s ease-in-out;
}

.ja_msg.user {
	justify-content: flex-end;
}

.ja_msg.assistant {
	justify-content: flex-start;
}

@keyframes message-fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ja_msg .logo {
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	flex-shrink: 0;
	--tw-bg-opacity: 1;

}

.ja_msg .logo.assistant {
	background-color: rgb(209 213 219 / 1);
	margin-right: 1rem;
}

.ja_msg .logo.user {
	background-color: rgb(99, 102, 241);
	margin-left: 1rem;
}

.ja_msg .container_wrapper {
	padding: 0.875rem 1.25rem;
	min-height: 1.5rem;
	transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
	max-width: calc(100% - 8rem);
	--tw-ring-offset-shadow: 0 0 #0000;
	--tw-ring-shadow: 0 0 #0000;
	--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.ja_msg .container_wrapper.assistant:hover {
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px
}

.ja_msg .container_wrapper.assistant {
	color: rgb(51, 65, 85);
	background-color: #fff;
	border-bottom-left-radius: 1rem;
	border-top-right-radius: 1rem;
	border-bottom-right-radius: 1rem;
	border: 1px solid rgb(241 245 249 / 0.8);
}

.ja_msg .container_wrapper.user {
	background-image: linear-gradient(to right bottom, rgb(99, 102, 241), rgb(129, 140, 248));
	color: white;
	backdrop-filter: blur(4px);
	border-bottom-right-radius: 1rem;
	border-top-left-radius: 1rem;
	border-bottom-left-radius: 1rem;

}

.ja_msg .fragment {
	position: relative;
	white-space: pre-line;
	word-break: break-all;
}

.ja_msg .fragment img {
	max-width: 90%;
}

.ja_msg .thinking {
	color: #666;
	display: flex;
	align-items: center;
	gap: 4px;
}

.ja_msg .thinking .dots {
	display: flex;
}

.ja_msg .thinking .dots span {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: currentColor;
	margin: 0 2px;
	opacity: 0;
	animation: dot-fade 1.4s infinite;
}

.ja_msg .thinking .dots span:nth-child(2) {
	animation-delay: 0.2s;
}

.ja_msg .thinking .dots span:nth-child(3) {
	animation-delay: 0.4s;
}

@keyframes dot-fade {

	0%,
	100% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}
}

.ja_msg .refers {
	margin-top: 16px;
	padding-top: 8px;

}

.ja_msg .hide {
	display: none;
}

.ja_msg .refers_label {
	color: rgb(107 114 128 / 1);
	font-size: 14px;
	line-height: 1.25;
}
.ja_msg .refers_count {
	color: rgb(107 114 128 / 1);
	font-size: 14px;
	line-height: 1.25;
	margin-left: 0px;
}
.ja_msg .refers_btn{
	margin-left: 8px;
	transform: rotate(0deg);
	transition: transform .3s;
}
.ja_msg .refers.expand .refers_btn{
	transform: rotate(180deg);
}
.ja_msg .refers_header {
	display: inline-block;
	cursor: pointer;
}
.ja_msg .refers_list {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.3s ease-in-out;
}
.ja_msg .refers.expand .refers_list{
	max-height: 9999px;
	display: block;
}



.message-action-btn {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	border-radius: 6px;
	background: none;
	border: none;
	padding: 0.375rem;
	cursor: pointer;
}

.message-action-btn:hover {
	background: #f3f4f6;
}

.message-action-btn:hover path {
	fill: #475569;
}

.message-action-btn.error:hover path {
	fill: red;
}
.message-action-btn.again:hover path {
	fill: rgba(0, 0, 0, 0.83);
}

/*--------opt panel --------- 样式*/
.ja_input-panel {
	flex: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgb(229, 231, 235);
	padding: .75rem;
}

.ja_input-panel .container:hover {
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
}

.ja_input-panel .container {
	background: rgba(248, 250, 252, 0.7);
	box-sizing: border-box;
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	border-radius: 1rem;
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.ja_input_wrapper {
	display: flex;
}

.extra_btns {
	display: flex;
	flex: none;
	flex-shrink: 0;
	gap: 0.5rem;
	padding: .5rem;
	align-items: center;
    justify-content: center;
}

.extra_btns button:hover {
	background: #f3f4f6;
}

.extra_btns button {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	border-radius: 9999px;
	line-height: 18px;
	background: none;
	border: none;
	width: 34px;
	height: 34px;
}

.ja_input-panel .input {
	border: none;
	outline: none;
	resize: none;
	width: 100%;
	box-sizing: border-box;
	padding: .5rem .5rem .5rem 1rem;
	font-size: 1rem;
	line-height: 1.5rem;
	font-family: inherit;
	font-feature-settings: inherit;
	font-variation-settings: inherit;
	letter-spacing: inherit;
	color: #333;
	flex: 1;
	height: 2.5rem;
	transition: height 0.3s ease;
	background: transparent;
}

/*为.input设置滚动条*/
.ja_input-panel .input::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

/* 滚动条轨道样式 */
.ja_input-panel .input::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.ja_input-panel .input::-webkit-scrollbar-track {
	background: #f5f5f5;
	border-radius: 3px;
	box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

.ja_input-panel .input::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 3px;
	transition: background 0.3s ease;
}

.ja_input-panel .input.auto-height {
	height: 5rem;
	overflow-y: auto;
}

.ja_input-panel .input:focus {
	border: none;
	outline: none;
}

.ja_input-panel .btn-panel {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	margin-left: 1rem;
	justify-content: space-between;
}

.ja_input-panel .send_btn {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	border-radius: 9999px;
	line-height: 18px;
	background: none;
	border: none;
	width: 34px;
	height: 34px;
}
.ja_input-panel .send_btn svg {
	fill: #6b7280
}
.ja_input-panel .send_btn.active svg{
	fill:#0217f6;
}
.ja_input-panel .send_btn:hover {
	background: #f3f4f6;
}

.ja_input-panel .send_btn.disabled {
	background-color: rgb(229, 231, 235);
	cursor: not-allowed;
}

.ja_input-panel .send_btn.cancel {
	background-color: #dc2626;
}

.ja_input-panel .send_btn.cancel:hover {
	background-color: #b91c1c;
}

.ja_input-panel .send_btn span {
	display: inline-block;
	margin-left: 4px
}

.hide {
	display: none !important;
}

.ja_input-panel .setting_btn {
	transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	border-radius: 9999px;
	line-height: 18px;
	background: none;
	border: none;
	width: 34px;
	height: 34px;
}

.ja_input-panel .setting_btn path {
	fill: #6b7280;
}

.ja_input-panel .setting_btn:hover {
	background: #f3f4f6;
}

.ja_input-panel .input_extra {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.ja_input-panel .tooltip {
	color: #bdc3d0;
	font-size: 1rem;
	display: flex;
	align-items: center;
}

.msg-tips-user {
	display: none;
}

.msg-tips-box {
	min-width: 13rem;
	max-width: 100%;
	border-top: 1px solid rgba(189, 195, 208, 0.21);
	margin-top: 8px;
	padding-top: 8px;
	font-size: 12px;
	color: rgb(148, 163, 184);
	text-align: right;
	display: flex;
	justify-content: space-between;
	align-items: center;
}


/* ----------------以下是删除弹窗中的样式 */
/*模态框背景*/
.modal {
	display: none;
	/* 默认隐藏 */
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.2);
	/* 使用rgba来稍作透明 */
	transition: background-color 0.3s ease-out;
	/* 添加背景颜色过渡 */
}

/* 模态框内容 */
.modal-content {
	background-color: #fefefe;
	margin: 25% auto;
	padding: 20px;
	width: 80%;
	/* 可根据需要调整 */
	max-width: 300px;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
		/* 较浅的外部阴影 */
		0 6px 20px rgba(0, 0, 0, 0.19);
	/* 更深一些的内部阴影 */
	transition: all 0.3s ease-out;
	/* 对所有可过渡属性添加过渡效果 */
}

.modal-content p {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 按钮样式 */
#confirmDelete,
#cancelDelete {
	background-color: #4CAF50;
	/* 绿色 */
	border: 1px solid #4CAF50FF;
	color: white;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 4px;
	transition: background-color 0.3s, color 0.3s, transform 0.3s;
	/* 添加过渡效果 */
}

#cancelDelete {
	background-color: #fff;
	/* 白色 */
	color: #888888;
	border: 1px solid rgba(121, 121, 121, 0.41);
}

/* 鼠标悬停时改变按钮的颜色 */
#confirmDelete:hover {
	background-color: #45a049;
	transform: translateY(-2px);
}

#cancelDelete:hover {
	background-color: #ddd;
	color: #777;
	transform: translateY(-2px);
}

/*----------------*/
/*复制弹窗*/
.notification {
	position: fixed;
	top:15%;
	left: 49%;
	font-size: 14px;
	background-color:#FFF;
	color: rgba(0, 0, 0, 0.66);
	padding: 10px 30px;
	border-radius: 5px;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
	z-index: 1000;
}
.notif-box{
	display: flex;
	align-items: center;
}
/***----重新生成提示框--------------------*/
.tooltip {
	visibility: hidden;
	position: absolute;
	top: -20px;
	left: 60px;
	background-color: #6d72f3;
	color: #fff;
	text-align: center;
	padding: 5px;
	border-radius: 4px;
	font-size: 12px;
	z-index: 1;
}

.again:hover .tooltip {
	visibility: visible;
}